package com.szsh.aiot.hsm.dto.ability;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

public class NotifyOrderRequest {

    @SerializedName("transaction_id")
    private String transactionid;

    @SerializedName("timestamp")
    private Long timestamp;

    @SerializedName("call_id")
    private String callid;

    @SerializedName("sign")
    private String sign;

    @SerializedName("service_type")
    private String servicetype;

    @SerializedName("param")
    private NotifyOrderRequestParam param;

    public String getTransactionid() {
        return transactionid;
    }

    public void setTransactionid(String transactionid) {
        this.transactionid = transactionid;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getCallid() {
        return callid;
    }

    public void setCallid(String callid) {
        this.callid = callid;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getServicetype() {
        return servicetype;
    }

    public void setServicetype(String servicetype) {
        this.servicetype = servicetype;
    }

    public NotifyOrderRequestParam getParam() {
        return param;
    }

    public void setParam(NotifyOrderRequestParam param) {
        this.param = param;
    }

    @Override
    public String toString() {
        return "NotifyCameraData{" +
                "transactionid='" + transactionid + '\'' +
                ", timestamp=" + timestamp +
                ", callid='" + callid + '\'' +
                ", sign='" + sign + '\'' +
                ", servicetype='" + servicetype + '\'' +
                ", param=" +new Gson().toJson(param) +
                '}';
    }
}
